package com.trg.designmodel.facade;

/**
 * @ClassName: Dvd
 * @Description:
 * @Author: tangrg
 * @Date: 2021/7/8 9:55
 * @Version: 1.0
 * @Return:
 **/
public class TV {
    private static final TV dvd = new TV();

    public static TV getInstance() {
        return dvd;
    }

    public void open() {
        System.out.println("TV被打开");
    }

    public void close() {
        System.out.println("TV被关闭");
    }
}
